package cn.topcodes.tcsf.cms.domain.form;

import cn.topcodes.tcsf.admin.commons.domain.Idable;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;

/**
 * ProductionCatalog表单
 * @author Yvan
 * @date 2018-02-09 10:46:47
 */
@Data
public class ProductionCatalogForm implements Idable {
	
	private Long id;

	@NotNull(message = "分类名称不能为空")
	@Length(min = 0,max = 100,message = "分类名称长度为0~100个字符")
	private String catalogName;

}